package com.example.fruitdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fruitdemo.pojo.Address;
import com.example.fruitdemo.ruslet.R;

public interface AddressService extends IService<Address> {
    //根据username查询收货地址
    R<Address> getByAuth(String authorization);
    //根据收获人的名字查询id
    Long getidByName(String receiver);
    //提交地址
    R<Address> subaddress(Address address);


}
